﻿using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;

namespace Bookworm.Core
{
    [GeneratedCode("xsd", "2.0.50727.1432")]
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(AnonymousType = true)]
    [XmlRoot("ebook-toc", Namespace = "", IsNullable = false)]
    public partial class EbookTocXml
    {
        private ebooktocItem[] itemField;

        [XmlElement("item")]
        public ebooktocItem[] item
        {
            get { return itemField; }
            set { itemField = value; }
        }
    }

    [GeneratedCode("xsd", "2.0.50727.1432")]
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(AnonymousType = true)]
    public partial class ebooktocItem
    {
        private string targetField;

        private int pagenumberField;

        private string valueField;

        [XmlAttribute]
        public string target
        {
            get { return targetField; }
            set { targetField = value; }
        }

        [XmlAttribute("page-number")]
        public int pagenumber
        {
            get { return pagenumberField; }
            set { pagenumberField = value; }
        }

        [XmlText]
        public string Value
        {
            get { return valueField; }
            set { valueField = value; }
        }
    }
}